package com.ecoolex.hotel.saas.pojo;

import java.util.Date;

import org.springframework.lang.NonNull;

import com.ecoolex.framework.common.annotation.Description;

@Description({"编辑预售券有效期策略"})
public class EditPresaleCouponExpirydateDTO {

	@Description({"有效期策略：1-固定有效期；2-动态有效期", "不能为空", "数据长度: 5"})
    @NonNull
    private Integer expirydateStrategy;
	
	@Description({"固定开始有效期", "数据长度: 26"})
    private Date fixedStartExpirydate;
	
	@Description({"固定结束有效期", "数据长度: 26"})
    private Date fixedEndExpirydate;
	
	@Description({"动态有效期时间（天）", "数据长度: 10"})
    private Integer dynamicExpirydateValue;

    @NonNull
    public Integer getExpirydateStrategy() {
        return expirydateStrategy;
    }

    public void setExpirydateStrategy(@NonNull Integer expirydateStrategy) {
        this.expirydateStrategy = expirydateStrategy;
    }

    public Date getFixedStartExpirydate() {
        return fixedStartExpirydate;
    }

    public void setFixedStartExpirydate(Date fixedStartExpirydate) {
        this.fixedStartExpirydate = fixedStartExpirydate;
    }

    public Date getFixedEndExpirydate() {
        return fixedEndExpirydate;
    }

    public void setFixedEndExpirydate(Date fixedEndExpirydate) {
        this.fixedEndExpirydate = fixedEndExpirydate;
    }

    public Integer getDynamicExpirydateValue() {
        return dynamicExpirydateValue;
    }

    public void setDynamicExpirydateValue(Integer dynamicExpirydateValue) {
        this.dynamicExpirydateValue = dynamicExpirydateValue;
    }
}
